package com.example.state.machine.entity;

import com.example.state.machine.enums.PaymentState;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 模拟支付类
 */
@Getter
@Setter
public class Payment {
    private Long paymentId;
    private String paymentNumber;
    private BigDecimal amount;
    private PaymentState state;
    private Ticket ticket;
    private Order order;
    private String description;
    private String reason;
}
